home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 4,101 to 4,200
/
aol-file-protocol-4400-4101-to-4200.zip
/
AOLDLs
/
ADV - Message Board Archives
/
Archived Msgs_ SANE Tool
/
ADV.SANE.shk
/
ADV.SANE.Log
Wrap
Text File
|
1992-09-13
|
9KB
|
301 lines
=======================================================================
Archived Messages: "SANE (Standard Apple Numerics)"
America Online Apple II Developers Forum.
Go Keyword ADV!
(C) 1992.
===================================================================jrm=
This topic is for the discussion of SANE, the Standard Apple Numerics package
(Apple IIGS tool set #10).
Type: Response
From: A2Pro Tim
Date: 88-03-11 01:14:28 EST
88-03-11 01:14:28 EST
CC: SYSOP jim
Re: Re: SANE (Standard Apple Numeric
APW C requires the use of SANE for math. This seems to cause C programs to be
incredibly slow!!! Any tricks I can pull to speed up SANE?????
Tim S.
Type: Response
From: FL Jim
Date: 88-03-11 10:09:39 EST
Re: Re: SANE (Standard Apple Numeric
Tim,
Make all of your floating point variables "extended type" instead of single or
double precision. SANE does all of its math in extended mode, so if you use
single or double precision variables, a conversion has to be done before every
call to SANE to put the variable into the extended format. If you need (or
want) to use single or double precision variables in a file to save disk space,
convert them to single or double after all of your calculations are completed
(right before you write to disk).
--Jim
Type: Response
From: A2Pro Tim
Date: 88-03-17 01:38:47 EST
88-03-17 01:38:47 EST
CC: SYSOP jim
Re: Re: SANE tricks for speed...
Jim,
Thanks, what about for intergers? Use COMP type????
Tim S.
Type: Response
From: FL Jim
Date: 88-03-19 16:02:13 EST
Re: meric
Tim,
I'd stick to regular integer types (2-byte/4-byte) and use the Integer Math
tool set unless you need to do lots of mixing of integer and SANE types OR need
the extra precision SANE gives you.
Type: Response
From: A2Pro Tim
Date: 88-03-20 02:42:48 EST
88-03-20 02:42:48 EST
CC: SYSOP jim
Re: Re: Speed's the bottom line...
Jim,
I thought APW C forced SANE down your throat for everything!!!! I'll have
to look into the integer toolset some more....
Tim S.
Type: Response
From: FL Jim
Date: 88-03-20 16:14:14 EST
Re: Re: SANE (Standard Apple Numeric
Tim,
I have no idea what APW C uses internally for integers and integer math, but
you might use APW's DUMPOBJ utility to see what a short object file from APW C
looks like in assembler. That's the way I've been tracking down how ORCA/Pascal
and TML Pascal do some things internally.
--Jim
Type: Response
From: A2Pro Tim
Date: 88-03-25 02:06:51 EST
88-03-25 02:06:51 EST
CC: SYSOP jim
Re: Re: SANE (Standard Apple Numeric
Jim,
I've done that only briefly. I guess it would work though. I'd still like
to know why APW C seems to require SANE. Even the example NDA that comes with
APW C uses SANE, but the math it does is trivial.....
Tim S.
Type: Response
From: AIIDTS
Date: 88-03-29 19:57:16 EST
88-03-29 19:57:16 EST
CC: SYSOP jim
Re: C and SANE
the reason that C uses SANE, is that SANE is the only standard floating point
package on the GS. The C compiler automatically invokes it every time math is
done because of this. One of the drawbacks of a high level language. ( they did
not want to write their own math routines as that would just take up more
space, and besides, this was already in ROM). Since SANE is in ROM, the only
added bagggage should be the glue routines required. thats not really too much
size overhead when you consider that it is not including its own library. My
main complaint about APW C is that it does not use the text toolkit to do the
printf and scanf routines...
Jim
Type: Response
From: MikeW50
Date: 88-05-10 18:16:34 EST
88-05-10 18:16:34 EST
CC: SYSOP jim
Re: Re: SANE (Standard Apple Numeric
Some comments about SANE, floating point in general, and speed in particular
can be found in the upcomming June issue of Call A.P.P.L.E. I can't comment on
the content here until after Applefest, though. Incidentally, if you will be
at Applefest, and are doing much in the way of floating point, drop by the Byte
Works booth. Your jaw may sag a bit when you leave. We'll be demoing a
product from another company that should be interesting. More later, when I
can talk...
Mike Westerfield
Type: Response
From: Nuzz
Date: 88-05-10 22:15:13 EST
88-05-10 22:15:13 EST
CC: SYSOP jim
Re: Re: SANE (Standard Apple Numeric
Mike
I'll stop by the booth for that demo.
Mike Nuzzi
Type: Response
From: AFL Jim
Date: 88-05-26 14:13:54 EST
Re: Standard Apple Numeric
In case you are wondering what Mike and the Byte Works showed to make the jaws
drop, it was a coprocessor board with a MC68881 floatin point porcessor on it.
The Savage floating point benchmark was reduced from around 71 seconds to less
than 2 seconds! There is another thread on this board started in the Hardware
forum and as technical information is released, we'll be discussing it here in
Other Topics category. Here's a copy of the technical sheet:
-----------------------------------------------------------------
Innovative Systems
P.O. Box 444
Severn, MD 21144-0444
FPE
Innovative Systems is pleased to announce the Floating Point Engine (FPE)tm.
The FPE is based on the Motorola MC68881 floating point processor (the same
floating point processor used in the Apple Macintosh II!) and allows your Apple
II, II+, IIe or IIGS to realize a new dimension in performance. Features of the
FPE include:
o 12 MHz MC68881 standard! 16 MHz and 20 MHz MC68881 or
MC68882 are optionally available!
o Works in any peripheral expansion slot; even slot 3!
o Full ANSI-IEEE 754-1985 floating point standard!
o The FPE can execute instructions concurrently with your
Apple II!
o Software to support the FPE from ORCA/M, ORCA Pascal, and
APW available from The Byte Works!
o Comprehensive documentation supplied allows you to
develop your own FPE calls!
o Toolbox interface software to support the Apple Standard
Arithmetic Numeric Environment (SANE) is under
development, and will be provided at no cost to early
purchasers of the FPE!
Innovative Systems Floating Point Engine
Price Each - $199.95
Type: Response
From: MikeW50
Date: 88-05-26 14:26:46 EST
88-05-26 14:26:46 EST
CC: SYSOP jim
Re: Re: SANE (Standard Apple Numeric
Sorry it was so slow. :) The 2 sec. Savage demo used a crummy code generator.
We're prjecting about 0.7 sec. when Pascal 1.3 is commercially released.
Mike Westerfield
Type: Response
From: A2Pro Tim
Date: 88-06-21 19:21:32 EST
Re: Re: 6881 status
Ok - what's the latest word on the availability of the 68881 board? Is the
SANE replacement stuff ready? At AppleFest, Will Troxel (the man behind the
board) said that they were not finished with it yet....
Tim S.
Type: Response
From: Dave Lyons
Date: 88-07-02 06:29:37 EST
Re: When does APW C use SANE (answ)
Note that APW C does NOT use SANE for regular arithmetic with integers (and
unsigned, short, and long integers) or pointers--just plain boring little
library routines, some of which aren't always very efficient ways to do things
(I've traced through quite a bit of my own compiled C code, and the code for
something like xyz==0L is pretty ugly!); but at least it doesn't call SANE.
And IntMath calls are available for 32-bit precision with 1 sign bit & your
choice of 16 or 30 bits of fraction (the types are called "Fixed" [-32768 to
+32767 w/ 16 bits of fraction] and "Frac" [-2 to +2 w/ 30 bits of fraction]).
Type: Response
From: AFL Jim
Date: 88-09-27 08:27:24 EST
Re: Re: SANE (Standard Apple Numeric
(moved message)
Subj: SANE 88-09-26 22:06:23 EDT
From: Sst3 Msgs: 2 (88-09-27)
This is my first time on this sytem. Is there anyone out there who can tell me
how to use the SANE stuff? I've bought all the books - using Orca and a GS
Type: Response
From: AFL Jim
Date: 88-09-27 08:28:26 EST
Re: Re: SANE (Standard Apple Numeric
First, do you have the SANE manual? It explains what SANE is and how to make
calls to it. If you're using a high-level GS language, then SANE is probably
already in use (the only GS language I know of that doesn't use SANE is
AC/BASIC).
Jim
Type: Response
From: RichPT
Date: 88-10-15 22:07:16 EST
Re: Re: SANE & Goodbye
Yes I have the SANE manual. No I don't understand it.
Please conduct any further discussion of SANE by by mail if it's for me. At
300baud it takes about a week to get down here. See you all at the upper
levels......................
RichPT